package com.order.mapper;

import com.order.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @className: OrderMapper
 * @Description: 持久层
 * @author: JiaZhenpeng
 * @data: 2022/11/1312:42
 */
@Mapper
public interface OrderMapper {

    @Select("select * from tb_order where id = #{id}")
    Order findById(Long id);
}
